package com.iflyun.rabbitmqcustmer.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.iflyun.rabbitmqcustmer.dao.WebProducerDao;
import com.iflyun.rabbitmqcustmer.domain.WebLog;
import com.iflyun.rabbitmqcustmer.service.WebProducerService;



@Service("webProducerService")
public class WebProducerServiceImpl extends BaseServiceImpl<WebLog> implements WebProducerService{

	@Resource(name="webProducerDao")
	private WebProducerDao webProducerDao;
	
	@Override
	public int setWebLog(WebLog webLog) {
		int i = 0;
		i = webProducerDao.setWebLog(webLog);
		return i;
	}

	@Override
	public void saveWebLog(List<WebLog> list) {
		webProducerDao.saveWebLog(list);		
	}

	@Override
	public void setWebLogList(List<WebLog> list) {
		webProducerDao.setWebLogList(list);
		
	}

}
